// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import FastClick from 'fastclick'
import VueRouter from 'vue-router'
import App from './App'
import router from './router'
import './icons'
import './styles/index.scss'
import store from './store'
import '@/navigation'
Vue.use(VueRouter)
import  { LoadingPlugin,ToastPlugin  } from 'vux'
Vue.use(LoadingPlugin)
Vue.use(ToastPlugin)
/* 全局注册组件 */
import { Swiper, SwiperItem } from 'vux'
Vue.component('swiper', Swiper)
Vue.component('swiper-item', SwiperItem)
FastClick.attach(document.body)
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app-box')
